//
//  Item.h
//  ToDo
//
//  Created by Zuey But on 10/04/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum 
{
    ItemPriorityHigh = 0,
    ItemPriorityMedium,
    ItemPriorityLow
}ItemPriority;

@interface Item : NSObject {
    NSString *title;
    NSDate *startTime;
    NSDate *endTime;
    ItemPriority priority;
    BOOL isFinished;
    NSString *description;
    
}
@property(nonatomic,copy) NSString *title;
@property(nonatomic,retain) NSDate *startTime;
@property(nonatomic,retain) NSDate *endTime;
@property(nonatomic,copy) NSString *description;

-(NSDictionary *)getItemNSDictionary;
-(void)setItemWithNSDictionary:(NSDictionary *)nsdictionary;
@end
